import request from '@/utils/request'

// 根据ID查询详情数据
export function getInfoById21(itemId) {
  return request({
    url: '/biz/item/21/getInfoById/' + itemId,
    method: 'get',
  })
}

// 1.本底值检测
export function background(data) {
  return request({
    url: '/biz/item/21/background',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}

// 2.周围工作场所辐射防护检测
export function protection(data) {
  return request({
    url: '/biz/item/21/protection',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}

// 修改
export function saveInfo(data) {
  return request({
    url: '/biz/item/21/saveInfo',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}